package com.first.run.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.first.run.entity.SysUser;
import com.first.run.vo.UserInfo;

public interface SysUserService extends IService<SysUser> {
    /**
     * 更具用户名查询用户信息
     * @param username
     * @return
     */
    SysUser findSysUserByUserName(String username);


    /**
     * 查询用户所有信息
     *
     * @param sysUser 用户
     * @return userInfo
     */
    UserInfo getUserInfo(SysUser sysUser);

}
